Repository navigation
fix: keep launchpad search configuration private - #852
Merged
xujin177 merged 1 commit intoNov 19, 2026
Merged
Conversation
Reviewer's GuideConfigurationChange the launchpad search setting
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
deepin pr auto review🤖 AI 代码审查报告📊 总体评价
🔍 详细分析1. 语法逻辑 ✅评价: 语法正确,逻辑清晰 ✅ 通过 潜在问题: 建议: [] 2. 代码质量 ✅评价: 代码结构清晰,注释完整 ✅ 通过 潜在问题: 建议: [] 3. 代码性能 ✅评价: 性能良好,资源使用合理 ✅ 通过 潜在问题: 建议: [] 4. 代码安全 🔒评价: 存在0个安全漏洞 ✅ 通过
安全漏洞详情: 建议: [] 💡 改进建议代码示例本次变更无需修复,配置项修改正确。完整的配置项结构如下:
"searchDesktopId": {
"value": false,
"description": "Whether to allow the search for Desktop ID during the search.",
"description[zh_CN]": "在搜索时候是否允许搜索Desktop ID。",
"permissions": "readwrite",
"visibility": "private"
}本报告由 AI 代码审查工具自动生成 |
xujin177
force-pushed
the
fix/dconfig-public-audit-task-398753
branch
2 times, most recently
from
November 18, 2026 10:04
aa1aeba to
6d8d6c9
Compare
BLumia
approved these changes
Nov 19, 2026
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: BLumia, xujin177 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
1. Mark 1 audited keys private across 1 DConfig schemas. 2. Preserve shared public interfaces and uninstalled source copies. 3. Keep values, flags, permissions and business logic unchanged. Log: No user-facing changes Influence: 1. Validate that all changed DConfig schemas load without JSON errors. 2. Search applications by desktop ID and verify results. 3. Verify retained public and excluded keys match the audit workbook. fix: 启动器内部搜索配置声明为private 1. 按审查表将1份DConfig定义中的1个属性声明为private。 2. 保留跨应用共享public接口及当前构建不安装的旧定义。 3. 不修改默认值、flags、permissions或业务逻辑。 Influence: 1. 校验所有改动的DConfig JSON可正常解析和加载。 2. 按desktop ID搜索应用,确认搜索结果正常。 3. 对照审查表确认保留的public属性和排除项未被修改。 Log: 无用户可见变化 PMS: TASK-398753
xujin177
force-pushed
the
fix/dconfig-public-audit-task-398753
branch
from
November 19, 2026 01:35
6d8d6c9 to
c830d0e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
按DConfig审查表收敛dde-launchpad的内部配置声明:共1个键、1份JSON从public改为private。
public表示提供给其他应用直接访问,private表示应用内部使用。外部通过D-Bus使用功能、只读取同JSON其他属性、同宿主插件或已无有效业务消费的配置,按表内逐键结论处理。
src/models/org.deepin.ds.launchpad.jsonsearchByDesktopId保留接口/排除项:non-audited launchpad settings。表中判为合理的public以及未安装旧副本均不调整。
仅修改上述JSON的visibility;默认值、serial、flags、permissions、键名和业务逻辑均不变。
这是接口声明收敛,不宣称仅改private已实现运行时访问隔离。
验证:全部改动JSON解析通过;逐键语义差异及逐行diff确认只包含表中visibility变化;
git diff --check通过。运行时回归建议见提交信息Influence;本次未启动或修改运行中的桌面配置。
PMS: TASK-398753
Summary by Sourcery
Enhancements:
searchByDesktopIdto private visibility while preserving its existing behavior and metadata.